package com.woniu.order.service;

import com.woniu.order.Form.AddLeagueClassDetailForm;
import com.woniu.order.Form.AddMemberCardOrderForm;
import com.woniu.order.Param.OrderPayParam;
import com.woniu.order.dto.LeagueClassDetailDto;
import com.woniu.order.model.MemberCardOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
public interface MemberCardOrderService extends IService<MemberCardOrder> {


    void finishLeagueClassDetail(Integer leagueClassWorkforceId);

    void cancelLeagueClassDetail(Integer leagueClassWorkforceId);

    List<LeagueClassDetailDto> loadLeagueClassDetailByUser(Integer userId, Integer classState, String leagueClassName);


    void addLeagueClassDetail(AddLeagueClassDetailForm form);

    void addMemberCardOrder(AddMemberCardOrderForm form) throws Exception;

    Object pay(OrderPayParam orderPayParam) throws Exception;

    void payNotify(Map<String, String> map) throws Exception;

    void membershipcardcancellation(Integer menberuserid);


}
